package ${package};

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * <p>启动类</p>
 *
 * @author Lionel Lee
 * @version 1.0: AppMicroServiceBootstrap.java
 * @date 2020/10/19 15:08
 */
@EnableTransactionManagement
@EnableAsync
@SpringBootApplication
@MapperScan("${package}.domain.mapper")
public class AppMicroServiceBootstrap {

    public static void main(String[] args) {
        SpringApplication.run(AppMicroServiceBootstrap.class, args);
    }
}
